package cn.edu.njust.epms.entity;

import java.util.Date;

public class HRRecord {
    Integer rId;
    Integer uId;
    Boolean uTemp;

    public Boolean getuTemp() {
        return uTemp;
    }

    public void setuTemp(Boolean uTemp) {
        this.uTemp = uTemp;
    }

    Date rTime;
    String pid;
    UserDetails ud;

    @Override
    public String toString() {
        return "HRRecord{" +
                "rId=" + rId +
                ", uId=" + uId +
                ", uTemp=" + uTemp +
                ", rTime=" + rTime +
                ", pid='" + pid + '\'' +
                ", ud=" + ud +
                '}';
    }

    public UserDetails getUd() {
        return ud;
    }

    public void setUd(UserDetails ud) {
        this.ud = ud;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }


    public Integer getrId() {
        return rId;
    }

    public void setrId(Integer rId) {
        this.rId = rId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

//    public boolean isuTemp() {
//        return uTemp;
//    }

//    public void setuTemp(boolean uTemp) {
//        this.uTemp = uTemp;
//    }

    public Date getrTime() {
        return rTime;
    }

    public void setrTime(Date rTime) {
        this.rTime = rTime;
    }

    public HRRecord() {
    }

    public HRRecord(Integer rId, Integer uId, Boolean uTemp, Date rTime) {
        this.rId = rId;
        this.uId = uId;
        this.uTemp = uTemp;
        this.rTime = rTime;
    }
}
